package com.onedec.finance.mapper;

import com.onedec.finance.entity.OnedecAccount;
import com.onedec.finance.entity.OnedecAccountExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface OnedecAccountMapper {
    long countByExample(OnedecAccountExample example);

    int deleteByExample(OnedecAccountExample example);

    int deleteByPrimaryKey(Integer accountId);

    int insert(OnedecAccount record);

    int insertSelective(OnedecAccount record);

    List<OnedecAccount> selectByExample(OnedecAccountExample example);

    OnedecAccount selectByPrimaryKey(Integer accountId);

    int updateByExampleSelective(@Param("record") OnedecAccount record, @Param("example") OnedecAccountExample example);

    int updateByExample(@Param("record") OnedecAccount record, @Param("example") OnedecAccountExample example);

    int updateByPrimaryKeySelective(OnedecAccount record);

    int updateByPrimaryKey(OnedecAccount record);

    List<OnedecAccount> selectnum();

    List<Map<String, Object>> selectMonth();

    List<Map<String, Object>> selectMonths();
}